import { request } from '@/utils/request'
import qs from 'query-string'

/**
 * 说明：用户注册
 */
export const getChatsAll = (data) =>
  request({
    method: 'POST',
    url: '/chat/lover',
    data: qs.stringify(data)
  })

export const getChatsAudio = (data) =>
  request({
    method: 'POST',
    url: '/chat/audio',
    data
  })
